package animal;

public class Cat extends Animal{
    private String sleep;
    public Cat(){
        super(11,"好猫");
    }

    public String getSleep() {
        return sleep;
    }

    public void setSleep(String sleep) {
        this.sleep = sleep;
    }

    public void set(){
        super.setAge(19);
    }
    public void prin(){
        System.out.println(getAge());
        System.out.println(getName());
    }
    private void mimi(){
        System.out.println("mimi");
    }
}
